package com.learn.core.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonInclude;

/**
 * @auther CodeGenerator
 * @create 2021-03-13 00:37:08
 * @describe 用户详细信息表实体类
 */
@TableName("l_details")
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value="LDetails对象", description="用户详细信息表")
public class LDetails implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "details_id", type = IdType.AUTO)
    private Integer detailsId;

        @ApiModelProperty(value = "姓名")
        @TableField("name")
    private String name;

        @ApiModelProperty(value = "性别")
        @TableField("sex")
    private String sex;

        @ApiModelProperty(value = "身份整")
        @TableField("card_id")
    private String cardId;

        @ApiModelProperty(value = "出生日期")
        @TableField("birth_time")
    private String birthTime;

        @ApiModelProperty(value = "入职日期")
        @TableField("entry_time")
    private Date entryTime;

        @ApiModelProperty(value = "机构id")
        @TableField("organization_id")
    private Integer organizationId;

        @ApiModelProperty(value = "民族")
        @TableField("nation")
    private String nation;

        @ApiModelProperty(value = "学历")
        @TableField("education_id")
    private Integer educationId;
        @ApiModelProperty(value = "角色")
        @TableField("role_id")
    private Integer roleId;

        @ApiModelProperty(value = "创建时间")
        @TableField("create_time")
    private Date createTime;

        @ApiModelProperty(value = "更新时间")
        @TableField("update_time")
    private Date updateTime;

        @ApiModelProperty(value = "头像")
        @TableField("user_cover")
        private String userCover;

    public String getUserCover() {
        return userCover;
    }

    public void setUserCover(String userCover) {
        this.userCover = userCover;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public Integer getDetailsId() {
        return detailsId;
    }

    public LDetails setDetailsId(Integer detailsId) {
        this.detailsId = detailsId;
        return this;
    }

    public String getName() {
        return name;
    }

    public LDetails setName(String name) {
        this.name = name;
        return this;
    }

    public String getSex() {
        return sex;
    }

    public LDetails setSex(String sex) {
        this.sex = sex;
        return this;
    }

    public String getCardId() {
        return cardId;
    }

    public LDetails setCardId(String cardId) {
        this.cardId = cardId;
        return this;
    }

    public String getBirthTime() {
        return birthTime;
    }

    public LDetails setBirthTime(String birthTime) {
        this.birthTime = birthTime;
        return this;
    }

    public Date getEntryTime() {
        return entryTime;
    }

    public LDetails setEntryTime(Date entryTime) {
        this.entryTime = entryTime;
        return this;
    }

    public Integer getOrganizationId() {
        return organizationId;
    }

    public LDetails setOrganizationId(Integer organizationId) {
        this.organizationId = organizationId;
        return this;
    }

    public String getNation() {
        return nation;
    }

    public LDetails setNation(String nation) {
        this.nation = nation;
        return this;
    }

    public Integer getEducationId() {
        return educationId;
    }

    public LDetails setEducationId(Integer educationId) {
        this.educationId = educationId;
        return this;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public LDetails setCreateTime(Date createTime) {
        this.createTime = createTime;
        return this;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public LDetails setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
        return this;
    }

    @Override
    public String toString() {
        return "LDetails{" +
        "detailsId=" + detailsId +
        ", name=" + name +
        ", sex=" + sex +
        ", cardId=" + cardId +
        ", birthTime=" + birthTime +
        ", entryTime=" + entryTime +
        ", organizationId=" + organizationId +
        ", nation=" + nation +
        ", educationId=" + educationId +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        "}";
    }
}